#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#pragma once


#define ROW 9
#define COL 9
#define Easy_cont 10

#define ROWS ROW+2
#define COLS COL+2
void iniboard(char board[ROWS][COLS], int rows, int cols,char set);
void Display(char board[ROWS][COLS], int rows, int cols);
void Setmine(char board[ROWS][COLS], int rows, int cols);
void Findmine(char mine[ROWS][COLS], char show[ROWS][COLS], int rows, int cols);
int Get_mine_count(char mine[ROWS][COLS], int x, int y);